/** 全局公共样式 */
img[src=""],
img:not([src]) {
  opacity: 0;
}

html {
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #333333;
  background: #fff;
  min-height: 100%;
  font-family: "Microsoft Yahei", "微软雅黑", Arial, sans-serif;
}


* {
  margin: 0;
  padding: 0;
  // border: 0;
  scrollbar-width: thin;
}

ul,
ul li,
ol,
li {
  list-style: none outside none;
}

img {
  vertical-align: middle;
  border: none;
}

i {
  font: inherit;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

select::-ms-expand {
  display: none;
}

a {
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
  text-decoration: none;
  outline: none;
}

body,
ul,
ol,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
table,
td,
img,
div,
dl,
dt,
dd,
input {
  margin: 0;
  padding: 0;
  // font-family: "Regular";
  font-family: "none";
  box-sizing: border-box;
}

#app {
  position: relative;
  width: 100%;
  min-width: 340px;
  height: 100%;
  overflow: hidden;
}

.icon {
  display: inline-block;
}

.text-overflow-line {
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-overflow-line-two {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; //两行，行数可以自有定义
  -webkit-box-orient: vertical;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 32px #fff inset; /**通过边框阴影遮挡住背景*/
}

::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 8px;
  position: relative;
  z-index: 999;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 12px;
  //-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #2766a4;
  position: relative;
  z-index: 999;
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  background: #000000;
  border-radius: 12px;
}
